<?phpuse Illuminate\Database\Eloquent\Model;class goodsskupriceModel extends Model{    protected $table = 'goods_sku_price';    protected $primaryKey = 'id';    protected $appends = ['goods_sku_id_arr'];    public function getGoodsSkuIdArrAttribute()    {        return $this->goods_sku_ids ? explode(',', $this->goods_sku_ids) : [];    }    public function getGoodsSkuTextAttribute($value)    {        return array_filter(explode(',', $value));    }    protected function serializeDate($date)    {        return $date->format('Y-m-d H:i:s');    }}